package com.battle.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.battle.pojo.entity.Exam;
import com.battle.pojo.vo.exam.AppointQuestionJsonVo;
import org.springframework.stereotype.Repository;

    import com.battle.pojo.dto.exam.SelectExamDto;
    import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
* 【描 述】：
* 【环 境】：J2SE
* 【详 细】：
*
*/
@Repository
public interface ExamMapper extends BaseMapper< Exam > {

    /**
    * 搜索考试管理
    * @param dto
    * @return
    */
    Page< Exam > selectExam(SelectExamDto dto);

    /**
     * 获取指定题目列表
     *
     * @param dto
     * @return
     */
    Page<AppointQuestionJsonVo> getAppointQuestionList(SelectExamDto dto);

}